<template>
  <div class="user-info">
    <slot></slot>
  </div>
</template>

<script>
</script>

<style lang='scss' scoped>
.user-info {
  padding: 0 25px;
  .info-view {
    padding: 20px 0;
    .info-pic {
      display: inline-block;
      width: 100px;
      .info-avatar {
        width: 80px;
        height: 80px;
      }
    }
    .info-cont {
      vertical-align: top;
      display: inline-block;
      width: calc(100% - 100px);
      .info-username {
        line-height: 30px;
        font-size: 20px;
      }
      .info-balance {
        font-size: 12px;
        .info-balance-count {
          color: $base-color;
        }
        .info-recharge {
          display: inline-block;
          border-radius: 3px;
          width: 60px;
          line-height: 20px;
          margin-left: 10px;
          background-color: $base-color;
          color: #fff;
          text-align: center;
        }
      }
    }
  }
  .shelf-view {
    .shelf-title {
      line-height: 30px;
      .title-left {
        color: #666;
        font-weight: bold;
      }
      .title-right {
        font-size: 12px;
        float: right;
      }
    }
  }
}
</style>